package com.mengfou;

import org.gradle.api.Plugin;
import org.gradle.api.Project;

/**
 * @author 梦否 on 2023/1/14
 * @blog https://mengfou.blog.csdn.net/
 */
public class BasePlugin implements Plugin<Project> {
    @Override
    public void apply(Project project) {

    }

    protected String getTaskName(String prefix, String suffix, String variantName) {
        String name = variantName.substring(0, 1).toUpperCase() + variantName.substring(1);
        return prefix + name + suffix;
    }
}
